package org.unisannio.db;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table (name="Service")
public class EntityService implements Serializable {
	
	private String uri;
	private String schema;
	private String tags;
	int published;
	int subscribed;
	private String peer;
	
	
	@Id
	@Column(name="Uri", nullable=false)
	public String getUri() {
		return uri;
	}
	public void setUri(String uri) {
		this.uri = uri;
	}
	
	@Column(name="Schema")
	public String getSchema() {
		return schema;
	}
	public void setSchema(String schema) {
		this.schema = schema;
	}
	@Column(name="Tags")
	public String getTags() {
		return tags;
	}
	public void setTags(String tags) {
		this.tags = tags;
	}
	@Column(name="Published")
	public int getPublished() {
		return published;
	}
	public void setPublished(int published) {
		this.published = published;
	}
	@Column(name="Subscribed")
	public int getSubscribed() {
		return subscribed;
	}
	public void setSubscribed(int subscribed) {
		this.subscribed = subscribed;
	}
	
	
	public String getPeer() {
		return peer;
	}
	public void setPeer(String peer) {
		this.peer = peer;
	}
	
	
}
